import { expect, test } from "vitest";

test('test common matcher', () => {
  const name = 'lwq';
  expect(name).toBe('lwq');
  expect(2 + 2).toBe(4);
  expect(2 + 2).not.toBe(5);
})

test('test to be true ro false', () => {
  expect(1).toBeTruthy();
  expect(0).toBeFalsy();
})

test('test number', ()=> {
  expect(4).toBeGreaterThan(3)
  expect(2).toBeLessThan(3)
})

test('test object', () => {
  expect({name :'lwq'}).toEqual({name: 'lwq'})
})